home *** CD-ROM | disk | FTP | other *** search
/ Almathera Ten Pack 1: Comms & Networking / Almathera Ten on Ten - Disc 1: Comms & Networking.iso / amiga-useful / gnutar / source / gnutarsrc.lha / sasinclude / ndir.h < prev   
C/C++ Source or Header  |  1995-03-29  |  652b  |  38 lines

  1. /* added since the Amiga version will not compile with SAS/C V6.51,
  2.    "ndir.h" couldn't be found.
  3.    On the other hand, some defines had been missing, so placing
  4.    the appropriate includes here was the best solution.
  5.  
  6.    - AK, 28.3.95
  7.  */
  8.  
  9. #ifndef NDIR_DUMMY
  10. #define NDIR_DUMMY
  11.  
  12. #include <dos.h>
  13. #include <sys/dir.h>
  14.  
  15. #ifndef _FILE_
  16. #include <sys/file.h>
  17. #endif /* _FILE_ */
  18.  
  19. struct direct
  20. {
  21.  struct dirent x;
  22. };
  23.  
  24. #define    S_IFCHR        0020000
  25.  
  26. #define    S_ISUID        0004000  /* SAS/C misses these */
  27. #define    S_ISGID        0002000
  28. #define    S_ISVTX        0001000
  29.  
  30.  
  31.  /* unimplemented signals yet... */
  32.  
  33. #include <signal.h>
  34.  
  35. #define SIGPIPE SIG_MAX
  36.  
  37. #endif /* NDIR_DUMMY */
  38.